import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class CustomToastWidget extends StatelessWidget {
  const CustomToastWidget({Key? key, this.msg = ""}) : super(key: key);

  final String msg;

  @override
  Widget build(BuildContext context) {
    return  Container(
      margin: EdgeInsets.only(bottom: 130.w),
      padding: EdgeInsets.symmetric(horizontal: 24.w, vertical: 8.w),
      decoration: BoxDecoration(
        color: Color(0xB2000000),
        borderRadius: BorderRadius.circular(10),
      ),
      child: Text(msg, style: TextStyle(fontSize:13.sp,color: Colors.white)),
    );
  }
}
